package com.irain.pp.account.repository.model;

import com.irain.pp.account.repository.constant.TableConstants;
import com.irain.pp.account.repository.enums.UserRecordType;
import com.irain.pp.tool.mybatis.model.BaseRecordDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Table;

/**
 * @author WangYanPeng
 * @date 2017/11/18 13:56
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Table(name = TableConstants.USER_RECORD)
public class PpUserRecordDO extends BaseRecordDO {

    private UserRecordType recordType;
    private static final String RECORD_TYPE = "recordType";

    private Long userId;
    private static final String USER_ID = "userId";

    private String snapshot;
    private static final String SNAPSHOT = "snapshot";



}
